package com.ruoyi.purchase.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 检验指标结果对象 inspection_result
 * 
 * @author ruoyi
 * @date 2025-10-31
 */
public class InspectionResult extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 结果ID */
    private Long id;

    /** 检验计划单号 */
    @Excel(name = "检验计划单号")
    private String planId;

    /** 检验项目ID */
    @Excel(name = "检验项目ID")
    private String inspectionItemId;

    /** 检验值1 */
    @Excel(name = "检验值1")
    private String testValue1;

    /** 检验值2 */
    @Excel(name = "检验值2")
    private String testValue2;

    /** 检验值3 */
    @Excel(name = "检验值3")
    private String testValue3;

    /** 检验值4 */
    @Excel(name = "检验值4")
    private String testValue4;

    /** 检验值5 */
    @Excel(name = "检验值5")
    private String testValue5;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;


    // 关联字段
    /** 检验项目名称 */
    private String itemName;

    /** 检验指标 */
    private String inspectionIndex;

    /** 检验方法 */
    private String inspectionMethod;

    /** 标准值 */
    private String standardValue;

    /** 上限值 */
    private String upperLimit;

    /** 下限值 */
    private String lowerLimit;

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public String getInspectionIndex() {
        return inspectionIndex;
    }

    public void setInspectionIndex(String inspectionIndex) {
        this.inspectionIndex = inspectionIndex;
    }

    public String getInspectionMethod() {
        return inspectionMethod;
    }

    public void setInspectionMethod(String inspectionMethod) {
        this.inspectionMethod = inspectionMethod;
    }

    public String getStandardValue() {
        return standardValue;
    }

    public void setStandardValue(String standardValue) {
        this.standardValue = standardValue;
    }

    public String getUpperLimit() {
        return upperLimit;
    }

    public void setUpperLimit(String upperLimit) {
        this.upperLimit = upperLimit;
    }

    public String getLowerLimit() {
        return lowerLimit;
    }

    public void setLowerLimit(String lowerLimit) {
        this.lowerLimit = lowerLimit;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setPlanId(String planId) 
    {
        this.planId = planId;
    }

    public String getPlanId() 
    {
        return planId;
    }

    public void setInspectionItemId(String inspectionItemId)
    {
        this.inspectionItemId = inspectionItemId;
    }

    public String getInspectionItemId()
    {
        return inspectionItemId;
    }

    public void setTestValue1(String testValue1) 
    {
        this.testValue1 = testValue1;
    }

    public String getTestValue1() 
    {
        return testValue1;
    }

    public void setTestValue2(String testValue2) 
    {
        this.testValue2 = testValue2;
    }

    public String getTestValue2() 
    {
        return testValue2;
    }

    public void setTestValue3(String testValue3) 
    {
        this.testValue3 = testValue3;
    }

    public String getTestValue3() 
    {
        return testValue3;
    }

    public void setTestValue4(String testValue4) 
    {
        this.testValue4 = testValue4;
    }

    public String getTestValue4() 
    {
        return testValue4;
    }

    public void setTestValue5(String testValue5) 
    {
        this.testValue5 = testValue5;
    }

    public String getTestValue5() 
    {
        return testValue5;
    }

    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    @Override
    public String toString() {
        return "InspectionResult{" +
                "id=" + id +
                ", planId='" + planId + '\'' +
                ", inspectionItemId='" + inspectionItemId + '\'' +
                ", testValue1='" + testValue1 + '\'' +
                ", testValue2='" + testValue2 + '\'' +
                ", testValue3='" + testValue3 + '\'' +
                ", testValue4='" + testValue4 + '\'' +
                ", testValue5='" + testValue5 + '\'' +
                ", createdAt=" + createdAt +
                ", updatedAt=" + updatedAt +
                ", itemName='" + itemName + '\'' +
                ", inspectionIndex='" + inspectionIndex + '\'' +
                ", inspectionMethod='" + inspectionMethod + '\'' +
                ", standardValue='" + standardValue + '\'' +
                ", upperLimit='" + upperLimit + '\'' +
                ", lowerLimit='" + lowerLimit + '\'' +
                '}';
    }
}
